C (75/301)

From:Mike Carter
Date:11 Aug 99 at 22:35:34
Subject:BltBitMapRastPort void operand?

From: Mike Carter <mike.carter@bigfoot.com>

I've spent an hour (must be getting old?) staring at
this small line of code and cannot figure what is
wrong. SAS-C gives the error:
#Scr2WinBlit.c 42 Error 91: illegal void operand#

Can anybody shoot me outofmy misery soI can get on with
more interesting bits. What *have* I boobed up on
please?

- - - - - - -

rp1->BitMap = bm2;

// --- Blit the section of our screen to our tempory RastPort.
res = BltBitMapRastPort(scr->RastPort.BitMap, WIN_X, WIN_Y, rp1, 0, 0, WIN_WIDTH, WIN_HEIGHT, 0x0C0);

- - - - - - -

Many thanks to whoever can just tell me the reason why,

Mike C.



.--------------------------------- ---- - -- --------.
| AMiGA 1200EZT 060/PPC@240Mhz,50Mb RAM __/\__ |
| 4 HDD,DD FD,5 CD-ROMS,CDrW,ZiP250 \ o0 / bUDDa/S^D|
| SCSI+IDE,56kModem,BVGfX,19"VDU /_'-_\ |
`------------------------------- --- - \/ -- ------'
http://fly.to/BuddasWurld ICQ: 29173597